package com.ctshk.rpc.order.air.req.orderDetail;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 机票订单旅客信息
 * </p>
 *
 * @author lihang
 * @since 2021-03-15
 */
@Data
@ApiModel(value="AirOrderTourist对象", description="机票订单旅客信息")
public class AirOrderTouristData implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "填写旅客唯一标识,填写保险时,被保用户时传入,前端生成,不存入数据库",required = true)
    private String touristFlag;

    @ApiModelProperty(value = "旅客类型")
    private Integer touristType;

    @ApiModelProperty(value = "旅客凭证JSON")
    private String touristCertificateJson;

    @ApiModelProperty(value = "旅客姓",required = true)
    private String surname;

    @ApiModelProperty(value = "旅客名",required = true)
    private String name;

    @ApiModelProperty(value = "旅客姓名",required = true)
    private String touristName;

    @ApiModelProperty(value = "旅客国籍类型",required = true)
    private Long nationalityId;

    @ApiModelProperty(value = "旅客国籍类型名称",required = true)
    private String nationalityName;

    @ApiModelProperty(value = "性别",required = true)
    private Integer gender;

    @ApiModelProperty(value = "出生日期",required = true)
    private LocalDate birthday;

    @ApiModelProperty(value = "证件有效期至",required = true)
    private LocalDate vaildDate;

    @ApiModelProperty(value = "证件号码",required = true)
    private String certificatesNumber;

    @ApiModelProperty(value = "证件类型",required = true)
    private String certificatesType;

    @ApiModelProperty(value = "证件类型ID",required = true)
    private Long certificatesTypeId;

    @ApiModelProperty(value = "联系人手机区号id",required = true)
    private Long contactMobileAreaCodeId;

    @ApiModelProperty(value = "联系人手机区号",required = true)
    private String contactMobileAreaCode;

    @ApiModelProperty(value = "联系人手机",required = true)
    private String contactMobile;

    @ApiModelProperty(value = "称谓(1:先生;2:女士;3:小姐;4:男童;5:女童)",required = true)
    private Integer appellation;

    @ApiModelProperty(value = "会员号")
    private String vipNumber;



}
